import { S } from '../../s';
import { IPSControlAction } from '../ipscontrol-action';
import { IPSDEKanban } from './ipsdekanban';
import { PSDEDataViewImpl } from './psdedata-view-impl';

export class PSDEKanbanImpl extends PSDEDataViewImpl implements IPSDEKanban {
  protected updategrouppscontrolaction: IPSControlAction;
  getUpdateGroupPSControlAction(): IPSControlAction | null {
    if (this.updategrouppscontrolaction != null)
      return this.updategrouppscontrolaction;
    const value = this.M.getUpdateGroupPSControlAction;
    if (value == null) {
      return;
    }
    this.updategrouppscontrolaction =
      this.getPSControlHandler().findPSControlHandlerAction(value);
    return this.updategrouppscontrolaction;
  }
  get cls(): string {
    return 'PSDEKanbanImpl';
  }
  instanceof(cls: string): boolean {
    if (cls == S._24c) return true;
    return super.instanceof(cls);
  }
}
